package com.markhsiu.MiniMQ.client;

import com.markhsiu.MiniMQ.model.Message;
import com.markhsiu.MiniMQ.model.Result;
import com.markhsiu.MiniMQ.remote.Address;

/**
 * 远程访问客户端接口
 * Created by Mark Hsiu on 2017/2/8.
 */
public interface Client {

     Result send(Message message);
     void setCallBackor(CallBackor callBackor);

     Address getServerAddr();
     void connect();
     void open();
     void close();

}
